package com.damai.utils;

import javax.servlet.http.HttpSession;

public class SessionUtil {
	public static String getString(HttpSession session,String name,String defaultValue){
		Object value = session.getAttribute(name);
		if(value==null){
			return defaultValue;
		}
		return String.valueOf(value);
	}
}
